package cqrtplm.service;

import com.alibaba.fastjson.JSONObject;
import com.ty.basic.response.ResponseResult;
import cqrtplm.dto.GroupSegmNumDTO;
import cqrtplm.dto.query.RtSegmNumQueryDTO;
import cqrtplm.entity.RtSegmNumDO;

import java.util.List;

public interface RtSegmNumService {
    int save(RtSegmNumDO record);

    int update(RtSegmNumDO record);

    int delete(String id);

    RtSegmNumDO getById(String id);

    List<RtSegmNumDO> listAll(RtSegmNumQueryDTO dto);

    ResponseResult biding(GroupSegmNumDTO dto);

    ResponseResult getGroupSegm(String groupId);

    ResponseResult getSegmNumIdPower(String segmNumId);

    String getDrawingMaterialAuth(String segmNumId);

    JSONObject querySegmNumByCategory(String category);
}